package cn.b.training.baby_education_training.service.dto;

import cn.b.training.baby_education_training.entity.BabyHeight;
import cn.b.training.baby_education_training.entity.BabyWeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @program: baby_education_training
 * @description
 * @author: wuying
 * @create: 2022-12-02 11:33
 **/
@Data
public class BabyInfoDto {
    Long id;
    String babyName;
    String babyGender;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    Date babyBirth;
    String babyAvatar;
    List<BabyHeight> babyHeight;
    List<BabyWeight> babyWeight;
}
